﻿<%@ Page Title="" Language="C#" MasterPageFile="~/DashBoard/Master/Main.Master" AutoEventWireup="true" CodeBehind="EkleGuncelle.aspx.cs" Inherits="OgrIsleri.DashBoard.Modul.Duyurular.EkleGuncelle" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Main_Body" runat="server">
    <fieldset>
                <div class="widget">
                    <div class="title"><img src="/images/icons/dark/list.png" alt="" class="titleIcon" /><h6>Duyurular</h6></div>
                    <div class="formRow">
                        <label>Başlık:</label>
                        <div class="formRight"><asp:TextBox ID="txtBaslik" runat="server"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Önem:</label>
                        <div class="formRight">
                            <asp:DropDownList ID="DpOnem" runat="server"></asp:DropDownList></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Duyuru:</label>
                        <div class="formRight"><asp:TextBox ID="txtDuyuru" runat="server" TextMode="MultiLine"></asp:TextBox></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <label>Aktif:</label>
                        <div class="formRight">
                            <asp:CheckBox ID="chkAktif" runat="server" Checked="True" /></div>
                        <div class="clear"></div>
                    </div>
                    <div class="formRow">
                        <asp:Button ID="BtnKaydet" CssClass="button dblueB" runat="server" Text="Kaydet" OnClick="BtnKaydet_Click"/>
                    </div>
                </div>
            </fieldset>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" />
    <asp:RequiredFieldValidator ID="Valid1" runat="server" ErrorMessage="Lütfen bir başlık giriniz" ControlToValidate="txtBaslik" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="Valid2" runat="server" ErrorMessage="Lütfen duyuru metni giriniz" ControlToValidate="txtDuyuru" Display="None"></asp:RequiredFieldValidator>
</asp:Content>
